/*
 *  Cero Project - Copyright   2006 The Cero Developement Team 
 *  (Michael Laguerre, Camille Roux, Matthieu Segret, Mathieu Sivade) 
 * 
 *  This program is free software; you can redistribute it and/or modify it 
 *  under the terms of the GNU General Public License as published by the Free 
 *  Software Foundation; either version 2 of the License, or (at your option) 
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful, but 
 *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 *  for more details.
 */

package org.ceroproject.games;

import java.util.Collection;

import org.ceroproject.ui.ChoiceMaker;


public interface Player {
	/**
	 * Returns the Id (most probably the name) of the player
	 * 
	 * @return the Id (most probably the name) of the player
	 */
	int getPlayerId();

	/**
	 * Returns the player's name
	 * 
	 * @return the player's name
	 */
	String getPlayerName();

	/**
	 * Sets the player's name
	 * @param name the name of the player
	 */
	void setPlayerName(String name);

	/**
	 * Returns the zones owned by the player
	 * 
	 * @return the zones owned by the player
	 */
	ZonesGroup getZones();

	/**
	 * Returns the actions the player can do
	 * 
	 * @return the actions the player can do
	 */
	Collection<Action> getActions();

	/**
	 * Returns the choice maker the player will make his choice from
	 * 
	 * @return the choice maker to use
	 */
	ChoiceMaker getChoiceMaker();

	public String toString();
}
